package com.eight.paper.admin.domain.model;

import com.eight.common.annotation.Excel;
import com.eight.paper.admin.domain.QuestionBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 试题管理对象 question_base
 * 
 * @author 爱考线上考试系统
 * @date 2023-10-04
 */
@Data
public class QuestionListBody extends QuestionBase
{

    @ApiModelProperty("题目")
    @Excel(name = "题目")
    private String title;

    @ApiModelProperty("题型名称")
    @Excel(name = "题型")
    private String questionTypeName;

    @ApiModelProperty("部门名称")
    @Excel(name = "部门")
    private String deptName;

    @ApiModelProperty("题库名称")
    @Excel(name = "题库")
    private String repoName;

    @ApiModelProperty("章节名称")
    @Excel(name = "章节")
    private String sectionName;

    @ApiModelProperty("解析")
    private String explain;

    @ApiModelProperty("试题内容")
    @Excel(name = "试题内容")
    private String content;

    @ApiModelProperty("版本id")
    private Integer versionId;

    @ApiModelProperty("题目设置分数")
    private BigDecimal score;

    @ApiModelProperty("子题设置分数明细")
    private String subScores;

    @ApiModelProperty("试卷试题id")
    private Integer paperQuestionId;

    @ApiModelProperty("是否考生答题")
    private Boolean isExaminee = false;

    @ApiModelProperty("正确标志")
    private Integer correct;

    @ApiModelProperty("考生得分")
    private BigDecimal examineeScore;

}
